<?php
	class lopcontroller
	{
		public $lop_ma = "";
		public $lop_ten = "";
		public $lop_manganh="";
		
		public function Them()
		{
			$data = new lopdata();
			return $data->Them($this->lop_ma, $this->lop_ten, $this->lop_manganh);
		}
		
		public function CapNhat()
		{
			$data = new lopdata();
			return $data->CapNhat($this->lop_ma, $this->lop_ten, $this->lop_manganh);
		}
		
		public function Xoa()
		{
			$data = new lopdata();
			return $data->Xoa($this->lop_ma);
		}
		
		public function LayDanhSach()
		{
			$data = new lopdata();
			return $data->LayDanhSach($this->lop_ma);
		}
	}
?>